Skip to main content

All Questions

0votes
2answers
33views

Why doesn't my directive recognize its parameters?

I'm reviewing old classes and I try to finish the exercices I couldn't do before. This class is in Ionic1, using Angular1. I have a directive using two parameters; the first one is an object which ...
Michael Maurel's user avatar
0votes
1answer
249views

Creating dynamic input form in Ionic v1

I have an older project in Ionic v1 (Angular 1.x) where users can create groups and add members. I need to add a capability to the App for the group Admin to ask questions to group members - sort of a ...
Sanjay Tibrewal's user avatar
0votes
1answer
126views

Angularjs - Restrict user from typing while user tabs out to new field if API call in progress

My mobile (ionic) application makes an API call when user types in something to an input field and do an 'onblur' (focus out) operation. If user tabs to next input field, or he/she just tap on ...
Arun's user avatar
1vote
0answers
744views

How can I set auto height on ion-scroll with ionic?

I would like to know how can I set an auto-height with ion-scroll, I created a template for my modals, here is it <ion-modal-view> <ion-content scroll="false"> <div class="...
foboss's user avatar
0votes
0answers
154views

Compile HTML string in AngularJS

So, a little background on this, I have an AngularJS/Ionic project that I'm attempting to do some improvement on, I'm placing all my HTML/JS/CSS into a database table, which in turn will be retrieved ...
dlimes's user avatar
0votes
1answer
985views

AngularJS can't call controller method inside directive

I'm working on a hybrid Ionic1 app and I am not able to call a controller method from inside a directive. The problem is that inside the directive I'm able to pass controller's variables (such as ...
condorwasabi's user avatar
0votes
1answer
32views

Passing filtered list in custom directive angularjs

I have a list of objects, namedeventPlans, to show in a div with some filter. Now I want to pass that filtered list, named pendingEventPlans, in another directive actually in my search directive. <...
Moshi's user avatar
  • 1,433
1vote
1answer
166views

Angularjs- How to see if a directive is active/in the dom or not?

I am writing an app with Ionic v1 and Angular v1.5. I am using this 3rd party library in my project: https://github.com/djett41/ionic-content-banner It is directive-based. I have a problem in my ...
user1261710's user avatar
-2votes
1answer
74views

Best Practice for angular directives

My question is simple. I'm working on adding an angular directive to a small project, but several options out there show projects with Controllers and Services JS files that help to implement the ...
Lorax07's user avatar
4votes
0answers
247views

How to create a custom plugin in Javascript for hybrid mobile application?

How to create a custom plugin in Javascript for hybrid mobile application and Use the same plugin in Hybrid Mobile Application. How to write Cordova Plugins – Ionic and the Mobile Web. If anyone knows ...
Parag Ghadge's user avatar
0votes
1answer
476views

AngularJs- Form validation directive. The password confirm is always invalid

I have signup form in my ionic app (the code available here), the signup view has it own controller. the password confirm has a Directive to check the match with the main password. the register button ...
Amir-Mousavi's user avatar
1vote
1answer
214views

How can I use the ng-non-bindable directive in an Ionic 2 app?

I'm trying to write text which includes single and double braces inside a <p> tag. I've tried modifying it to <p ng-non-bindable> but the angular compiler still picks up the braces. ...
ThisIsNotAnId's user avatar
-1votes
4answers
799views

AngularJS - TypeError: Cannot read property 'push' of undefined when ng-repeat a div

I am creating an ionic mobile Apps project. I want to display a particular div multiple times in a html page. After that, I would like to display images etc. for each of the div. Here are my codes ...
Hardyanto Putra Antony. K's user avatar
1vote
0answers
64views

High chart with angular directive in dynamic ionic slide box

I want to create dynamic slide box with high chart with directive . I created directive to show high chart and it is working fine . codepen.io/anujsphinx/pen/JbVpvp Now my json response( vm.items) ...
Anuj's user avatar
  • 650
0votes
1answer
436views

Angular directive not rendering with templateUrl in ionic app

In chrome - both variants work. However, when emulating ios - the directive using templateUrl does not work. This does not work in the ios emulator but does work in the browser: angular.directive('...
Bas Kuis's user avatar

153050per page
close